package com.sdx.payment.system.entity;

import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

import com.fasterxml.jackson.annotation.JsonIgnore;
import org.beetl.sql.core.annotatoin.*;

import com.ibeetl.admin.core.util.ValidateConfig;

import org.beetl.sql.core.TailBean;
import java.math.*;

import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;

import com.sdx.common.utils.Utils;


/* 
* 
* gen by Spring Boot2 Admin 2018-09-27
*/
public class CfgThirdRecord extends BaseEntity{

    //wxapp，微信app，标记是appid
    //        wxpay，微信支付，标记是mchid
    //        alipay，支付宝，标记是appid
    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @AssignID
    @Dict(type="PAY_PLATFORM_TYPE")
    private String platformType ;

    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @AssignID
    private String unid ;
	

    private String configJson ;
	

    private String configMemo ;
	

    private Date createTime ;
	
    public CfgThirdRecord()
    {
    }

    /**wxapp，微信app，标记是appid
            wxpay，微信支付，标记是mchid
            alipay，支付宝，标记是appid
    *@return 
    */
    public String getPlatformType(){
	    return  platformType;
    }
    /**wxapp，微信app，标记是appid
            wxpay，微信支付，标记是mchid
            alipay，支付宝，标记是appid
    *@param  platformType
    */
    public void setPlatformType(String platformType){
        this.platformType = platformType;
    }

    public String getUnid(){
	    return  unid;
    }
    public void setUnid(String unid){
        this.unid = unid;
    }

    public String getConfigJson(){
	    return  configJson;
    }
    public void setConfigJson(String configJson){
        this.configJson = configJson;
    }

    public String getConfigMemo(){
	    return  configMemo;
    }
    public void setConfigMemo(String configMemo){
        this.configMemo = configMemo;
    }

    public Date getCreateTime(){
	    return  createTime;
    }
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }



}
